feat(app): implement stacksnipe#502
Conversation
|
@claude review this PR |
|
Claude finished @iamquang95's task in 2m 11s —— View job Review:
|
| pub async fn run(self, ct: CancellationToken) { | ||
| let span = tracing::debug_span!("stacksnipe", topic = "stacksnipe"); | ||
| // Full-path trait call so it doesn't shadow the inherent `instrument`. | ||
| tracing::Instrument::instrument(self.run_loop(ct), span).await; |
There was a problem hiding this comment.
nit: Can we just use #[instrument] macro?
| /// | ||
| /// This is best effort and effectively infallible: every walk or read error is | ||
| /// silently skipped. | ||
| fn snipe(proc_path: &Path) -> Vec<StackComponent> { |
There was a problem hiding this comment.
Should we think about windows support here? I remember we used to think about windows support, not sure this is something we want in the current situation
There was a problem hiding this comment.
I think for the current state, adding windows support requires more things to do (Also need to carefully handle windows support on other places as well).
fix #71